﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmEditPaperDate.aspx.cs" Inherits="ExamV5.PaperInfo.FrmEditPaperDate" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
    <script type="text/javascript" charset="gb2312" language="javascript" src="../Image/calendar.js"></script>
    <%--<link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />--%>

    <link rel="stylesheet" href="../layui/css/layui.css" type="text/css" />
    <link rel="stylesheet" href="../Image/examstyle.css" type="text/css" />

</head>
<body>
    <form id="form1" runat="server" class="layui-form">
        <asp:ScriptManager ID="SM" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UPPart" runat="server">
            <ContentTemplate>
                <div class="tankuang">
                    <div class="tanchuang_jc">
                        <p class="register_tips">
                            <img src="../Image/images/zc_zhuyi.png" />因试卷已生效,所以只能修改基本参数
                        </p>
                        <div class="layui-form-item">
                            <label class="layui-form-label">考试名称</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labExamName" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">所属科目</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labSubjectName" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">考试总分</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labPaperFen" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">考试时长</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labExamTime" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="xing">*</span>入考场IP</label>
                            <div class="layui-input-inline w150">
                                <asp:TextBox ID="txtStartIP" runat="server" MaxLength="15" CssClass="layui-input radius5" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
                                    onpaste='return false'>1.0.0.0</asp:TextBox>
                            </div>
                            <div class="layui-form-mid">─</div>
                            <div class="layui-input-inline w150">
                                <asp:TextBox ID="txtEndIP" runat="server" MaxLength="15" CssClass="layui-input radius5" Width="170px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
                                    onpaste='return false'>255.255.255.255</asp:TextBox>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="xing">*</span>有效期限</label>
                            <div class="layui-input-inline w100">
                                <asp:TextBox ID="txtStartDate" runat="server" CssClass="layui-input radius5" onclick="calendar(this)"></asp:TextBox>
                            </div>
                            <div class="layui-input-inline w50">
                                <asp:DropDownList ID="DDLStartH" runat="server">
                                    <asp:ListItem Value="1">1</asp:ListItem>
                                    <asp:ListItem Value="2">2</asp:ListItem>
                                    <asp:ListItem Value="3">3</asp:ListItem>
                                    <asp:ListItem Value="4">4</asp:ListItem>
                                    <asp:ListItem Value="5">5</asp:ListItem>
                                    <asp:ListItem Value="6">6</asp:ListItem>
                                    <asp:ListItem Value="7">7</asp:ListItem>
                                    <asp:ListItem Value="8">8</asp:ListItem>
                                    <asp:ListItem Value="9">9</asp:ListItem>
                                    <asp:ListItem Value="10">10</asp:ListItem>
                                    <asp:ListItem Value="11">11</asp:ListItem>
                                    <asp:ListItem Value="12">12</asp:ListItem>
                                    <asp:ListItem Value="13">13</asp:ListItem>
                                    <asp:ListItem Value="14">14</asp:ListItem>
                                    <asp:ListItem Value="15">15</asp:ListItem>
                                    <asp:ListItem Value="16">16</asp:ListItem>
                                    <asp:ListItem Value="17">17</asp:ListItem>
                                    <asp:ListItem Value="18">18</asp:ListItem>
                                    <asp:ListItem Value="19">19</asp:ListItem>
                                    <asp:ListItem Value="20">20</asp:ListItem>
                                    <asp:ListItem Value="21">21</asp:ListItem>
                                    <asp:ListItem Value="22">22</asp:ListItem>
                                    <asp:ListItem Value="23">23</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="layui-input-inline w50">
                                <asp:DropDownList ID="DDLStartM" runat="server">
                                    <asp:ListItem Value="00">00</asp:ListItem>
                                    <asp:ListItem Value="05">05</asp:ListItem>
                                    <asp:ListItem Value="10">10</asp:ListItem>
                                    <asp:ListItem Value="15">15</asp:ListItem>
                                    <asp:ListItem Value="20">20</asp:ListItem>
                                    <asp:ListItem Value="25">25</asp:ListItem>
                                    <asp:ListItem Value="30">30</asp:ListItem>
                                    <asp:ListItem Value="35">35</asp:ListItem>
                                    <asp:ListItem Value="40">40</asp:ListItem>
                                    <asp:ListItem Value="45">45</asp:ListItem>
                                    <asp:ListItem Value="50">50</asp:ListItem>
                                    <asp:ListItem Value="55">55</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="layui-form-mid">─</div>
                            <div class="layui-input-inline w100">
                                <asp:TextBox ID="txtEndDate" runat="server" CssClass="layui-input radius5" onclick="calendar(this)"></asp:TextBox>
                            </div>
                            <div class="layui-input-inline w50">
                                <asp:DropDownList ID="DDLEndH" runat="server">
                                    <asp:ListItem Value="1">1</asp:ListItem>
                                    <asp:ListItem Value="2">2</asp:ListItem>
                                    <asp:ListItem Value="3">3</asp:ListItem>
                                    <asp:ListItem Value="4">4</asp:ListItem>
                                    <asp:ListItem Value="5">5</asp:ListItem>
                                    <asp:ListItem Value="6">6</asp:ListItem>
                                    <asp:ListItem Value="7">7</asp:ListItem>
                                    <asp:ListItem Value="8">8</asp:ListItem>
                                    <asp:ListItem Value="9">9</asp:ListItem>
                                    <asp:ListItem Value="10">10</asp:ListItem>
                                    <asp:ListItem Value="11">11</asp:ListItem>
                                    <asp:ListItem Value="12">12</asp:ListItem>
                                    <asp:ListItem Value="13">13</asp:ListItem>
                                    <asp:ListItem Value="14">14</asp:ListItem>
                                    <asp:ListItem Value="15">15</asp:ListItem>
                                    <asp:ListItem Value="16">16</asp:ListItem>
                                    <asp:ListItem Value="17">17</asp:ListItem>
                                    <asp:ListItem Value="18">18</asp:ListItem>
                                    <asp:ListItem Value="19">19</asp:ListItem>
                                    <asp:ListItem Value="20">20</asp:ListItem>
                                    <asp:ListItem Value="21">21</asp:ListItem>
                                    <asp:ListItem Value="22">22</asp:ListItem>
                                    <asp:ListItem Value="23">23</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="layui-input-inline w50">
                                <asp:DropDownList ID="DDLEndM" runat="server">
                                    <asp:ListItem Value="00">00</asp:ListItem>
                                    <asp:ListItem Value="05">05</asp:ListItem>
                                    <asp:ListItem Value="10">10</asp:ListItem>
                                    <asp:ListItem Value="15">15</asp:ListItem>
                                    <asp:ListItem Value="20">20</asp:ListItem>
                                    <asp:ListItem Value="25">25</asp:ListItem>
                                    <asp:ListItem Value="30">30</asp:ListItem>
                                    <asp:ListItem Value="35">35</asp:ListItem>
                                    <asp:ListItem Value="40">40</asp:ListItem>
                                    <asp:ListItem Value="45">45</asp:ListItem>
                                    <asp:ListItem Value="50">50</asp:ListItem>
                                    <asp:ListItem Value="55">55</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="xing">*</span>考试模式</label>
                            <div class="layui-input-inline w360">
                                <asp:RadioButtonList RepeatLayout="Flow" ID="RBLExamShow" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="Y" Selected="True">可以切屏离开考场</asp:ListItem>
                                    <asp:ListItem Value="N">禁止切屏离开考场</asp:ListItem>

                                </asp:RadioButtonList>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="xing">*</span>试卷排版</label>
                            <div class="layui-input-inline w360">
                                <asp:RadioButtonList RepeatLayout="Flow" ID="RBLRubricShow" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="Y" Selected="True">试题全页显示</asp:ListItem>
                                    <asp:ListItem Value="N">一页一道试题</asp:ListItem>
                                </asp:RadioButtonList>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="xing">*</span>考试次数</label>
                            <div class="layui-input-inline w80">
                                <asp:TextBox ID="txtJoinExamNum" runat="server" CssClass="layui-input radius5" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
                                    onpaste='return false' MaxLength="3">0</asp:TextBox>
                            </div>
                            <div class="layui-form-mid">
                                次
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">分值标准</label>
                            <div class="layui-input-inline w500">
                                <asp:GridView ID="DataGridInfo" runat="server" AllowPaging="false"
                                    AutoGenerateColumns="False" AllowSorting="True" CssClass="layui-table"
                                    OnRowDataBound="DataGridInfo_RowDataBound"
                                    OnRowCancelingEdit="DataGridInfo_RowCancelingEdit" OnRowEditing="DataGridInfo_RowEditing"
                                    OnRowUpdating="DataGridInfo_RowUpdating" DataKeyNames="ID,StandFlag"
                                    OnPreRender="DataGridInfo_PreRender"
                                    ShowHeaderWhenEmpty="true" EmptyDataText="没有您查找的数据">
                                    <HeaderStyle Font-Bold="True" HorizontalAlign="Center"></HeaderStyle>
                                    <Columns>
                                        <%--<ItemStyle CssClass="tl jc_xx" />--%>
                                        <asp:BoundField DataField="ReuleName" HeaderText="得分标准名称"></asp:BoundField>
                                        <asp:TemplateField HeaderText="分值范围">
                                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            <ItemTemplate>
                                                <asp:Label ID="labMin" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>'>
                                                </asp:Label>—
														<asp:Label ID="labMax" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>'>
                                                        </asp:Label>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txtMinValue" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>' runat="server" CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" Style="ime-mode: disabled; height: 26px;" onpaste='return false' MaxLength="4">
                                                </asp:TextBox>—
														<asp:TextBox ID="txtMaxValue" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>' runat="server" CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" Style="ime-mode: disabled; height: 26px;" onpaste='return false' MaxLength="4">
                                                        </asp:TextBox>
                                            </EditItemTemplate>
                                            <HeaderStyle Width="200px" />
                                        </asp:TemplateField>

                                        <asp:CommandField HeaderText="编辑" ShowEditButton="True" EditText="编辑" UpdateText="更新" CancelText="取消">
                                            <HeaderStyle Width="60px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:CommandField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">试卷类型</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labPaperStatus" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">编辑人员</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labInputUser" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">编辑时间</label>
                            <div class="layui-input-inline w360">
                                <asp:Label ID="labInputTime" runat="server" CssClass="layui-text layui-form-mid"></asp:Label>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-block">
                                <asp:Button ID="butEnter" runat="server" Text="提  交" CssClass="layui-btn radius5 bg_blue w120" OnClick="butEnter_Click" />
                                <asp:Button ID="butClose" runat="server" Text="关  闭" CssClass="layui-btn radius5 bg_c8c8c8 w120" OnClientClick="javascript:WindowClosed();" />
                            </div>
                        </div>
                    </div>
                </div>


                <%--<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                    <tr>
                        <td>
                            <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                                <tr height="33">
                                    <td width="6">
                                        <img src="../Image/SHeadLeft.gif" border="0"></td>
                                    <td align="center" width="130" background="../Image/SHeadLeft1.gif" height="33"><font color="white"><b>修改试卷参数</b></font></td>
                                    <td width="7">
                                        <img src="../Image/SHeadLeft2.gif" border="0"></td>
                                    <td background="../Image/SHeadLeft3.gif" height="33" width="550"></td>
                                    <td width="10">
                                        <img src="../Image/SHeadLeft4.gif" border="0"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr height="10">
                        <td></td>
                    </tr>
                    <tr>
                        <td>

                            <table id="table2" bordercolor="#cccccc" cellspacing="0" bordercolordark="#cccccc" cellpadding="0"
                                width="99%" align="center" border="1" class="tableStyle">
                                <tr height="35">
                                    <td bgcolor="#d4e5f5">&nbsp;<img src="../Image/MenuICO/Choose23.gif" border="0" style='position: relative; top: 3px'><strong> <font color="#ff0000">因试卷已生效,所以只能修改基本参数</font></strong></td>
                                </tr>
                                <tr>
                                    <td>
                                        <table id="table3" bordercolor="#cccccc" cellspacing="0" bordercolordark="#cccccc" cellpadding="0"
                                            width="100%" align="center" border="1" class="tableStyle">
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80">考试名称：</td>
                                                <td align="left">
                                                    <asp:Label ID="labExamName" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80">所属科目：</td>
                                                <td>
                                                    <asp:Label ID="labSubjectName" runat="server"></asp:Label></td>
                                            </tr>
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80">考试总分：</td>
                                                <td>
                                                    <asp:Label ID="labPaperFen" runat="server"></asp:Label></td>
                                            </tr>
                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80">考试时长：</td>
                                                <td align="left">
                                                    <asp:Label ID="labExamTime" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80"><font color="red">*</font> 入考场IP：</td>
                                                <td>
                                                    <asp:TextBox ID="txtStartIP" runat="server" MaxLength="15" CssClass="text" Width="170px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
                                                        Style="ime-mode: disabled; height: 26px;" onpaste='return false'>1.0.0.0</asp:TextBox>─<asp:TextBox ID="txtEndIP" runat="server" MaxLength="15" CssClass="text" Width="170px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
                                                            Style="ime-mode: disabled; height: 26px;" onpaste='return false'>255.255.255.255</asp:TextBox></td>
                                            </tr>

                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80"><font color="red">*</font> 有效期限：</td>
                                                <td align="left">
                                                    <table cellspacing="0" cellpadding="0" border="0" bordercolor="#7392c6" bordercolordark="#7392c6" style="border-collapse: collapse">
                                                        <tr>
                                                            <td>
                                                                <asp:TextBox ID="txtStartDate" runat="server" Width="90px" Style="height: 26px;" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                            <td>
                                                                <asp:DropDownList ID="DDLStartH" runat="server" Style="height: 26px;">
                                                                    <asp:ListItem Value="1">1</asp:ListItem>
                                                                    <asp:ListItem Value="2">2</asp:ListItem>
                                                                    <asp:ListItem Value="3">3</asp:ListItem>
                                                                    <asp:ListItem Value="4">4</asp:ListItem>
                                                                    <asp:ListItem Value="5">5</asp:ListItem>
                                                                    <asp:ListItem Value="6">6</asp:ListItem>
                                                                    <asp:ListItem Value="7">7</asp:ListItem>
                                                                    <asp:ListItem Value="8">8</asp:ListItem>
                                                                    <asp:ListItem Value="9">9</asp:ListItem>
                                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                                </asp:DropDownList><asp:DropDownList ID="DDLStartM" runat="server" Style="height: 26px;">
                                                                    <asp:ListItem Value="00">00</asp:ListItem>
                                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                                    <asp:ListItem Value="40">40</asp:ListItem>
                                                                    <asp:ListItem Value="45">45</asp:ListItem>
                                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                                    <asp:ListItem Value="55">55</asp:ListItem>
                                                                </asp:DropDownList></td>
                                                            <td>─</td>
                                                            <td>
                                                                <asp:TextBox ID="txtEndDate" runat="server" Width="90px" Style="height: 26px;" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                            <td>
                                                                <asp:DropDownList ID="DDLEndH" runat="server" Style="height: 26px;">
                                                                    <asp:ListItem Value="1">1</asp:ListItem>
                                                                    <asp:ListItem Value="2">2</asp:ListItem>
                                                                    <asp:ListItem Value="3">3</asp:ListItem>
                                                                    <asp:ListItem Value="4">4</asp:ListItem>
                                                                    <asp:ListItem Value="5">5</asp:ListItem>
                                                                    <asp:ListItem Value="6">6</asp:ListItem>
                                                                    <asp:ListItem Value="7">7</asp:ListItem>
                                                                    <asp:ListItem Value="8">8</asp:ListItem>
                                                                    <asp:ListItem Value="9">9</asp:ListItem>
                                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                                </asp:DropDownList><asp:DropDownList ID="DDLEndM" runat="server" Style="height: 26px;">
                                                                    <asp:ListItem Value="00">00</asp:ListItem>
                                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                                    <asp:ListItem Value="40">40</asp:ListItem>
                                                                    <asp:ListItem Value="45">45</asp:ListItem>
                                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                                    <asp:ListItem Value="55">55</asp:ListItem>
                                                                </asp:DropDownList></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80"><font color="red">*</font> 考试模式：</td>
                                                <td align="left">
                                                    <asp:RadioButtonList RepeatLayout="Flow" ID="RBLExamShow" runat="server" Width="255px" RepeatDirection="Horizontal">
                                                        <asp:ListItem Value="Y" Selected="True">可以切屏离开考场</asp:ListItem>
                                                        <asp:ListItem Value="N">禁止切屏离开考场</asp:ListItem>

                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80"><font color="red">*</font> 试卷排版：</td>
                                                <td align="left">
                                                    <asp:RadioButtonList RepeatLayout="Flow" ID="RBLRubricShow" runat="server" Width="328px" RepeatDirection="Horizontal">
                                                        <asp:ListItem Value="Y" Selected="True">试题全页显示</asp:ListItem>
                                                        <asp:ListItem Value="N">一页一道试题</asp:ListItem>
                                                    </asp:RadioButtonList></td>
                                            </tr>
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80"><font color="red">*</font> 考试次数：</td>
                                                <td align="left">
                                                    <asp:TextBox ID="txtJoinExamNum" runat="server" Width="90px" CssClass="text" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
                                                        Style="ime-mode: disabled; height: 26px;" onpaste='return false' MaxLength="3">0</asp:TextBox>
                                                    次
                                                </td>
                                            </tr>

                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80">分值标准：</td>
                                                <td align="left">
                                                    <asp:GridView ID="DataGridInfo" runat="server" AllowPaging="false"
                                                        AutoGenerateColumns="False" CellPadding="5" BorderWidth="1px" Width="500"
                                                        CssClass="tableStyle" BackColor="White" OnRowDataBound="DataGridInfo_RowDataBound"
                                                        OnRowCancelingEdit="DataGridInfo_RowCancelingEdit" OnRowEditing="DataGridInfo_RowEditing"
                                                        OnRowUpdating="DataGridInfo_RowUpdating" DataKeyNames="ID,StandFlag">
                                                        <HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="tabth_bg" ForeColor="#143F61"></HeaderStyle>
                                                        <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
                                                        <Columns>
                                                            <asp:BoundField DataField="ReuleName" HeaderText="得分标准名称"></asp:BoundField>
                                                            <asp:TemplateField HeaderText="分值范围">
                                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="labMin" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>'>
                                                                    </asp:Label>—
														<asp:Label ID="labMax" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>'>
                                                        </asp:Label>
                                                                </ItemTemplate>
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="txtMinValue" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>' runat="server" CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" Style="ime-mode: disabled; height: 26px;" onpaste='return false' MaxLength="4">
                                                                    </asp:TextBox>—
														<asp:TextBox ID="txtMaxValue" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>' runat="server" CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" Style="ime-mode: disabled; height: 26px;" onpaste='return false' MaxLength="4">
                                                        </asp:TextBox>
                                                                </EditItemTemplate>
                                                                <HeaderStyle Width="200px" />
                                                            </asp:TemplateField>

                                                            <asp:CommandField HeaderText="编辑" ShowEditButton="True" EditText="编辑" UpdateText="更新" CancelText="取消">
                                                                <HeaderStyle Width="60px" />
                                                                <ItemStyle HorizontalAlign="Center" />
                                                            </asp:CommandField>

                                                        </Columns>
                                                        <PagerStyle HorizontalAlign="Right" />

                                                    </asp:GridView>
                                                </td>
                                            </tr>


                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80">试卷类型：</td>
                                                <td align="left">
                                                    <asp:Label ID="labPaperStatus" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#f5fcfe" height="30">
                                                <td align="right" width="80">编辑人员：</td>
                                                <td align="left">
                                                    <asp:Label ID="labInputUser" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr bgcolor="#ffffff" height="30">
                                                <td align="right" width="80">编辑时间：</td>
                                                <td align="left">
                                                    <asp:Label ID="labInputTime" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>

                                    </td>
                                </tr>

                            </table>
                            <table id="table1" bordercolor="#cccccc" cellspacing="0" bordercolordark="#ffffff" cellpadding="0"
                                width="99%" align="center" border="0">
                                <tr>
                                    <td align="center">
                                        <br />
                                        <asp:Button ID="butEnter" runat="server" Text="提  交"
                                            CssClass="but2B" OnClick="butEnter_Click" /><asp:Button ID="butClose" runat="server" Text="关  闭" CssClass="but2R" OnClientClick="javascript:window.close();" /><br />
                                        <br />
                                    </td>
                                </tr>
                            </table>

                        </td>
                    </tr>
                </table>--%>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
    <script type="text/javascript" language="javascript" src="../Image/jquery.min.js"></script>
    <script type="text/javascript" language="javascript" src="../layui/layui.all.js"></script>
    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            LayaUIFormRender();
        });
        function LayaUIFormRender() {
            layui.use('form', function () {
                var form = layui.form;
                form.render();
                //form.render('select');
            });
        }
        function WindowClosed() {
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index);
        }
    </script>
</body>
</html>

